package com.mzy.datepackage.M2022.July.twtwo;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/8/24 16:04
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args){
        String str="hello";
        printString();
        printString(str);
        printString(str,str);
    }

    public static void printString(String... str) {
        System.out.println("长度："+str.length);
        for(int i=0;i<str.length;i++) {
            System.out.println(str[i]);
        }
        System.out.println("================");
    }
}
